package com.rc.saas.tenant.mapper.elec;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.elec.ElecStationPrice;
import com.rc.saas.tenant.model.elec.ElecStationPriceExample;
import com.rc.saas.tenant.vo.hlht.HlhtTenantOpenStationPriceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ElecStationPriceMapper  extends BaseMapper<Long ,ElecStationPrice,ElecStationPriceExample> {

    List<HlhtTenantOpenStationPriceVo> listStationPriceAndOpenPrice(@Param("tenantCode") String tenantCode,
                                                                     @Param("hlhtOpenType") String hlhtOpenType,
                                                                     @Param("hlhtTenantCode") String hlhtTenantCode,
                                                                     @Param("hlhtOperatorId") String hlhtOperatorId,
                                                                     @Param("elecStationId") Long elecStationId);

    void insertSelectiveReturnId(ElecStationPrice elecStationPrice);

    List<ElecStationPrice> listByElecStationId(@Param("elecStationId") Long elecStationId);
}
